﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cfg.ConfigValues;
using NUnit.Framework;
using Cfg.Helpers;

namespace Cfg.Test
{
    [TestFixture]
    public class HelpersTest
    {
        [Test]
        public void IsInheritedFrom()
        {
            Assert.IsTrue(typeof(Time).IsInheritedFrom(typeof(ConfigValueBase)));
        }

        [Test]
        public void Implements2()
        {
            Assert.IsFalse(typeof(Time).Implements<IList>());
        }
    }
}
